package com.sc.nft.entity.vo;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.UserMerchantPledgeTaskStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class MerchantUserPledgeTaskPageVO {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("DAO名称")
    private String daoName;

    @ApiModelProperty("用户手机号")
    private String userTel;

    @ApiModelProperty("质押任务名称")
    private String pledgeName;

    @ApiModelProperty("质押任务状态 : NOT_YET_STARTED:未开始 IN_PLEDGE:质押中 COMPLETED:已完成 ALREADY_ENDED:已结束")
    private UserMerchantPledgeTaskStatusEnum status;

    @ApiModelProperty(value = "是否冻结")
    private Boolean isFrozen;

    @ApiModelProperty("质押时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
}
